Namespaces

Classes

Functions

string
cachebust_asset(string $path, bool $secure = null)

Generate an asset path with a cachbusting query string for the application.

at line 13
string
fragment_uuid_path(string $uuid)

Fragment a UUID beginning with "abcdef..."" to "ab/cd/abcdef...".

at line 57
string
readable_number(int|float $n)

Shorten a large number to a readable size, e.g. 154222 => 154k.

at line 31
string
thumbnail_url(string $uuid = null, string $disk = null, string $format = null)

Assemble the public URL to an image thumbnail.

at line 72